package com.outsourcingmanagesystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.outsourcingmanagesystem.entity.User;
import com.outsourcingmanagesystem.entity.dto.UserLoginDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from users where username = #{username}")
   User getByUsername(String username) ;

}
